package entity

import "time"

type BagLog struct {
	ID 			int `gorm:"column:id;PRIMARY_KEY"`
	OperatorId    	int    `gorm:"column:operator_id"`
	OperatorName    	string    `gorm:"column:operator_name"`
	OperatorType    	int    `gorm:"column:operator_type"`
	BagCode    	string    `gorm:"column:bag_code"`
	OrderId    	int    `gorm:"column:order_id"`
	State    	int    `gorm:"column:state"`
	Remark    	string    `gorm:"column:remark"`
	CreatedAt    	time.Time    `gorm:"column:created_at"`
}

func (BagLog) TableName() string {
	return "l_bag_log"
}
